﻿
namespace ZR.Model.Dto.Business.ProductionControl
{
    /// <summary>
    /// 采集明细查询对象
    /// </summary>
    public class CksCollectedDetailsQueryDto : PagerInfo
    {
    }

    /// <summary>
    /// 采集明细输入输出对象
    /// </summary>
    public class CksCollectedDetailsDto
    {
        [Required(ErrorMessage = "Id不能为空")]
        public long Id { get; set; }

        [Required(ErrorMessage = "采集批次不能为空")]
        public string BatchCode { get; set; }

        [Required(ErrorMessage = "虚拟表名不能为空")]
        public string TableName { get; set; }

        [Required(ErrorMessage = "序号不能为空")]
        public long SequenceId { get; set; }

        [Required(ErrorMessage = "PlcId不能为空")]
        public int PlcId { get; set; }

        [Required(ErrorMessage = "列名不能为空")]
        public string ColumnName { get; set; }

        [Required(ErrorMessage = "列Key不能为空")]
        public string ColumnKey { get; set; }

        [Required(ErrorMessage = "采集内容不能为空")]
        public string Content { get; set; }

        [Required(ErrorMessage = "后4位不能为空")]
        public string Suffix4 { get; set; }

        [Required(ErrorMessage = "创建时间不能为空")]
        public DateTime? CreatedTime { get; set; }

        [Required(ErrorMessage = "IsDeleted不能为空")]
        public bool IsDeleted { get; set; }



        [ExcelColumn(Name = "IsDeleted")]
        public string IsDeletedLabel { get; set; }
    }
}